﻿@model KhatVongViet.Models.Article
@{
    ViewBag.Title = "Khát Vọng Việt - Chỉnh Sửa Confession";
    Layout = "~/Views/Administrator/Layout.cshtml";
    <script src="../../Content/ckeditor/ckeditor.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-1.7.1.min.js" type="text/javascript"></script>
}
<!DOCTYPE html>
<h1>
    Màn hình sửa bài đăng</h1>
@using (Html.BeginForm("EditConfession", "Administrator", FormMethod.Post,
                            new { enctype = "multipart/form-data" }))
{
    <input name="ID" value='@Model.ID' type="hidden" />
    <table>
        <tr>
            <td style="vertical-align: middle;">
                Email
            </td>
            <td>@Html.TextAreaFor(a => a.Email)
            </td>
        </tr>
        <tr>
            <td style="vertical-align: middle;">
                Tiêu đề
            </td>
            <td>@Html.TextAreaFor(a => a.Title)
            </td>
        </tr>
        <tr>
            <td style="vertical-align: middle;">
                Nội dung chi tiết
            </td>
            <td>
                <textarea rows="20" cols="10" name="Context">
                    @Html.DisplayTextFor(a => a.Context)
                </textarea>

            </td>
        </tr>
        <tr>
            <td>
            </td>
            <td>
                <input type="submit" name="Update" value="Update" />
            </td>
        </tr>
    </table>
}

